<%@page import="cn.sendto.service.ParkInfoService"%>
<%@page import="cn.sendto.service.ResidentInfoService"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" errorPage="../err.jsp"%>
	<jsp:include page="../lock.jsp"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>教室信息表</title>
<style >
</style>
</head>
<body>
<div><%  request.setCharacterEncoding("UTF-8");
int Classid =Integer.parseInt(request.getParameter("Classid")) ;
String Classname = request.getParameter("Classname");
String Classstatus = request.getParameter("Classstatus");
String Seatnumber = request.getParameter("Seatnumber");
String jssm = request.getParameter("jssm");
ParkInfoService ris = new ParkInfoService();
int i = ris.xg(Classname,Classstatus,Seatnumber,jssm,Classid);
if(i > 0 ){
	request.setAttribute("residentinfo", "修改成功");
	request.getRequestDispatcher("parklist.jsp").forward(request, response);
	return;
}else{
	request.setAttribute("residentinfo", "修改失败");
	request.getRequestDispatcher("parklist.jsp").forward(request, response);
}  %></div>	
</body>
</html>